﻿// Copyright (c)  MOKEYISH. All rights reserved.
// Licensed under the MIT License, See License.txt in the project root for license information.

namespace NSQL.Expressions.Functions
{
    /// <summary>
    /// The toDate function is used to convert a string to a datetime
    /// </summary>
    public interface IToDatetimeFunction : IDateTimeExpression, IStandardFunction
    {
        /// <summary>
        /// Expression
        /// </summary>
        IConstantStringExpression Expr { get; set; }
        IConstantStringExpression Format { get; set; }
    }
}